<%@ Page Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="EditProfile.aspx.cs" Inherits="Impact.Web.Admin.EditProfile" Title="Edit Profile" %>
<%@ Register Src="~/Controls/StateList.ascx" TagPrefix="impact" TagName="StateList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <table class="AdminTable">
    
        <tr>
            <th colspan="3">Edit Profile</th>
        </tr>
        
        <tr>
            <td>Company Name:</td>
            <td><asp:TextBox ID="companyName" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="companyName" SetFocusOnError="true" 
                ErrorMessage="Company Name is required" ForeColor="red" runat="server" /></td>
        </tr>
        
        <tr>
            <td>Website:</td>
            <td><asp:TextBox ID="website" runat="server" /></td>
        </tr>
        
        <tr>
            <td>Address:</td>
            <td><asp:TextBox ID="address" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="address" SetFocusOnError="true" 
                ErrorMessage="Address is required" ForeColor="red" runat="server" /></td>
        </tr>
        
        <tr>
            <td>City:</td>
            <td><asp:TextBox ID="city" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="city" SetFocusOnError="true" 
                ErrorMessage="City is required" ForeColor="red" runat="server" /></td>
        </tr>
        
        <tr>
            <td>State:</td>
            <td><impact:StateList ID="state" runat="server" /></td>
        </tr>
        
        <tr>
            <td>Zipcode:</td>
            <td><asp:TextBox ID="zipcode" runat="server" /></td>
            <td><asp:RequiredFieldValidator ID="zipcodeRequired" ControlToValidate="zipcode" SetFocusOnError="true" 
                ErrorMessage="Zipcode is required" ForeColor="red" runat="server" /></td>
        </tr>
                                    
        <tr>
            <td colspan="3" style="text-align: center;">
                <impact:SubmitCancel id="submit" OnSubmit="SubmitCommand" OnCancel="CancelCommand" runat="server" />
            </td>
        </tr>
    </table>   


</asp:Content>
